import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
Vue.use(uView);
// Vue.prototype.baseUrl = 'http://dr-api.vesal.cn:8036/deren-server'
import { myRequest } from './api/api.js'


//在原型中挂载
Vue.prototype.$myRequest=myRequest;

import mixin from './components/mixins.vue'
Vue.mixin(mixin)


//引入vuex
import store from './store'
//把vuex定义成全局组件
Vue.prototype.$store = store

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
